package org.dong.Model;

import java.math.BigDecimal;

public class DownloadList {
    private int id;//传输ID
    private int file_id;//文件ID
    private String file_name;//文件名称
    private String file_size;//文件大小
    private BigDecimal file_time;//操作时间
    private int type;//操作类型 0-下载 1-上传
    private int status;//记录状态 0传输中 1完成 2失败


    public DownloadList() {

    }

    public DownloadList(int id, int file_id, String file_name, String file_size, BigDecimal file_time, int type, int status) {
        this.id = id;
        this.file_id = file_id;
        this.file_name = file_name;
        this.file_size = file_size;
        this.file_time = file_time;
        this.type = type;
        this.status = status;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getFile_id() {
        return file_id;
    }

    public void setFile_id(int file_id) {
        this.file_id = file_id;
    }

    public String getFile_name() {
        return file_name;
    }

    public void setFile_name(String file_name) {
        this.file_name = file_name;
    }

    public String getFile_size() {
        return file_size;
    }

    public void setFile_size(String file_size) {
        this.file_size = file_size;
    }

    public BigDecimal getFile_time() {
        return file_time;
    }

    public void setFile_time(BigDecimal file_time) {
        this.file_time = file_time;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DownloadList{" +
                "id=" + id +
                ", file_id=" + file_id +
                ", file_name='" + file_name + '\'' +
                ", file_size='" + file_size + '\'' +
                ", file_time=" + file_time +
                ", type=" + type +
                ", status=" + status +
                '}';
    }
}
